package com.homework03;

import java.util.Scanner;

/*
键盘录入用户密码, 如果密码为 111111, 程序输出密码正确，
否则输出密码有误 (标注: 这里密码使用int类型即可)
*/
public class work16 {
    public static void main(String[] args) {
        int winpassword = 111111;
        Scanner sc = new Scanner(System.in);
        int userpassword = sc.nextInt();
        if (userpassword == winpassword) {
            System.out.println("密码正确!");
        } else {
            System.out.println("密码错误！");
        }
    }
}
